<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=">
<title>后台管理系统</title>
<link rel="stylesheet" href="__PUBLIC__/Admin/css/css.css">
<script src="__PUBLIC__/Admin/js/jquery-1.9.1.js"></script>
<script src="__PUBLIC__/Common/Layer/layer.js"></script>
<script>
function check_form(){
	if(confirm("确认要修改订单信息吗？")){
		return true;
	}else{
		return false;
	}	
}
</script>
</head>
<body>

<form name="form3" method="post" action="__SELF__" enctype="multipart/form-data" onSubmit="return check_form();">
<div class="details">
	  <table width="100%" border="0" cellpadding="0" cellspacing="0" class="details" style=" margin-top:2px;">
      	  <tr>
	        <td colspan="3" style=" background:#E4EEFA;"><h3 style="margin-left:50px;">一、订单信息</h3></td>
       	  </tr>
        <tbody>
	      <tr>
	        <td width="21%"><div align="right">订单编号：</div></td>
	        <td width="40%">&nbsp;{$result.orders_num}</td>
	        <td width="39%">&nbsp;</td>
          </tr>
	      <tr>
	        <td><div align="right">支付状态：</div></td>
	        <td style="color:#00F; font-size:24px;">&nbsp;<if condition="$result.pay_status == 1">已支付<else/>待支付</if></td>
	        <td>支付时间：&nbsp;{$result.pay_time}</td>
          </tr>
	      <tr>
	        <td><div align="right">应付金额：</div></td>
	        <td>&nbsp;{$result.price_sum} 元</td>
	        <td>收货人：&nbsp;<input name="realname" type="text" value="{$result.realname}" style="width:200px;"></td>
          </tr>
	      <tr>
	        <td><div align="right">优惠券抵扣：</div></td>
	        <td>&nbsp;- {$result.money_youhui} 元</td>
	        <td>手机号：&nbsp;<input name="mobile" type="text" value="{$result.mobile}" style="width:200px;"></td>
          </tr>
	      <tr>
	        <td><div align="right">实付金额：</div></td>
	        <td>&nbsp;<span style="font-size:2.2em; font-weight:600; color:#F00;">{$result.price_shiji} 元</span></td>
	        <td>&nbsp;<textarea name="user_address" style="width:300px; height:80px; padding:3px;">{$result.user_address}</textarea></td>
          </tr>
          <if condition="$result.fahuo_time != ''">
	      <tr>
	        <td><div align="right">快递名称：</div></td>
	        <td>&nbsp;<input name="kuaidi_name" type="text" value="{$result.kuaidi_name}" style="width:200px;"></td>
	        <td>运单号：&nbsp;<input name="kuaidi_num" type="text" value="{$result.kuaidi_num}" style="width:200px;"></td>
          </tr>
          </if>
	      <tr>
	        <td colspan="3"><div align="center">
            <input type="hidden" name="id" value="{$result.id}" />
            <button type="submit" class="button" id="button" style="min-width:160px;" onclick="admin_add();">保存修改</button>
            </div></td>
          </tr>
          <tr>
	        <td colspan="3" style=" background:#E4EEFA;"><h3 style="margin-left:50px;">二、商品信息</h3></td>
       	  </tr>
          
          
          <foreach name="goods_data" item="vo">
	      <tr>
	        <td><div align="right">商品名称：</div></td>
	        <td colspan="2">&nbsp;{$vo.goods_title}</td>
	        </tr>
	      <tr>
	        <td><div align="right">购买数量：<br/>购买单价：</div></td>
	        <td style="color:#00F;">&nbsp;{$vo.goods_num} 件<br/>
  &nbsp;{$vo.price_new} 元</td>
	        <td><img src="__PUBLIC__/Uploads/goods/{$vo.pic_url}" alt="" style="width:100px; height:100px;" /><br/></td>
          </tr>
          <tr>
	        <td><div align="right"></div></td>
	        <td>&nbsp;</td>
	        <td>&nbsp;</td>
          </tr>
          </foreach>
          
          <tr>
	        <td><div align="right"></div></td>
	        <td>&nbsp;</td>
	        <td>&nbsp;</td>
          </tr>
        </tbody>
  </table> 
</div>
</form> 
</body>
</html>
